@import './utils/func';
@import './utils/var';

.page-contact {
  .g-main {
    @extend %bgfull;
    background-image: url("/@@/images/contact/bg1.jpg");
  }
  .g-right {
    @extend %bgfull;
    background-image: url("/@@/images/contact/bg2.jpg");
  }
  .g-slogan{
    img{
      width: 240px;
      opacity: .89;
    }
  }
  .g-item{
    .icon{
      margin: -58px 0 48px;
      img{
        width: 45px; height: 38px;
      }
    }
    .text{
      img{
        width: 50px; height: 190px;
      }
    }
  }
  .mu{
    position: absolute; top: 40%; left: 32%;
    margin: -70px 0 0 -124px;
    img{
      width: 160px;
    }
  }
  .store{
    position: absolute; top: 26%; left: $g-left; right: $g-right;

    .item{
      overflow: hidden;
      float: left;
      box-sizing: border-box;
      width: 32%;
      margin-right: 2%;
      font-size: 16px;
      border: 1px solid #787878;

      &:last-child{
        margin-right: 0;
      }
    }
    .hd{
      padding: 4px 12px;
      color: #000;
      background-color: $color-brown;
    }
    .bd{
      padding: 8px 0;
      margin: 12px;
      border-top: 1px solid #787878;
      border-bottom: 1px solid #787878;
    }
    .ft {
      padding: 0 12px 12px;
      color: #8c8c8c;
    }
    .map{
      position: relative;
      overflow: hidden;
      display: block;
      img{
        width: 100%;
      }

      &:hover{
        .mask{
          animation: zoomIn .3s linear both;
          display: block;
        }
      }
    }
    .mask{
      display: none;
      @extend %full;
      position: absolute;
      background: rgba(0, 0, 0, .79) url("/@@/images/contact/icon_view.png") no-repeat 50% 50%;
      background-size: 15%;
    }
    .tel, .location{
      padding-left: 26px;
      background-repeat: no-repeat;
      background-size: auto 20px;
    }
    .tel{
      margin-bottom: 8px;
      background-image: url("/@@/images/contact/icon_tel.png")
    }
    .location{
      min-height: 42px;
      font-size: 14px;
      background-image: url("/@@/images/contact/icon_location.png")
    }
  }
  .copyright{
    position: absolute; left: $g-left; right: $g-right; bottom: $g-bottom;
    padding: 0 180px;
    margin-bottom: -20px;
    text-align: center; font-size: 16px; color: $text-gray1;
    
    span{
      display: block;
    }
  }
  .qrcode {
    position: absolute; right: $g-right; bottom: $g-bottom;

    li{
      float: left;
      margin: 0 0 -24px 24px;
    }
    img{
      width: 64px; height: 64px;
    }
  }
}

@keyframes zoomIn{
  0%{
    transform: scale(2.4);
    opacity: 0;
  }
  100%{
    transform: scale(1);
    opacity: 1;
  }
}